home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
input
/
vbibox
/
input.top
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1995-09-08
|
3KB
|
63 lines
MainForm
The NewInputBox-Example...
Command1
&Input
Text1
Label1
Label1
vThis is an example for a customized InputBox without using extra global variables. (INTERNATIONAL LANGUAGE options !)
Command1_Click
NewInputBox
GetInput
Default
Title
Prompt
Caption
Label1
Text1
Screen
PixelPer
TwipsPixel
TwipsPerPixelX
TwipsPerPixelYP
@ Form_Load
Text1_Change
Form_QueryUnload
Cancel
UnloadMode
MainForm
GetSystemMetrics
SM_CYCAPTION
enfif
Width
Widththen
Height
TextBox
Control
SelStart
SelLength
setfucus
Form_Click
Label1_Click
Index
Command1_Click
Give me input !
The Example
<default>
the same as:
Call GetInput(Text1, "Give me input !", "The Example", "<nothing>", -1, -1)
Form_Load
Code by:
Christian Germelmann
CompuServe: 100520,2644
Phone +49 (0)6421 45457
Form_QueryUnload
GetInput
if you don't want to state the Left-position set default...
prevent from "hanging out of the screen"(
If NewInputBox.Left < 0 Then NewInputBox.Left = 0=
if you don't want to state the Top-position set default...*
prevent from "hanging out of the screen"(
If NewInputBox.Top < 0 Then NewInputBox.Top = 0
show the NewInputBoxw